FEXP Solver  1.0.0.0
CFEXPNetWinErrors Class Reference

Windows connection errors. More...

#include <FEXPNetworkWinSocket.h>

Inheritance diagram for CFEXPNetWinErrors:

Static Protected Attributes

static std::map< int, const std::string > CONNECTION_ERRORS_1
 
static std::map< int, const std::string > CONNECTION_ERRORS_2
 
static std::map< int, const std::string > CONNECTION_ERRORS_3
 
static std::map< int, const std::string > CONNECTION_ERRORS_4
 
static std::map< int, const std::string > CONNECTION_ERRORS_5
 

Detailed Description

Windows connection errors.

Member Data Documentation

◆ CONNECTION_ERRORS_1

std::map< int, const std::string > CFEXPNetWinErrors::CONNECTION_ERRORS_1
staticprotected
Initial value:
=
{
{ WSASYSNOTREADY , "The underlying network subsystem is not ready for network communication." },
{ WSAVERNOTSUPPORTED, "The version of Windows Sockets support requested is not provided by this particular Windows Sockets implementation." },
{ WSAEINPROGRESS , "A blocking Windows Sockets 1.1 operation is in progress." },
{ WSAEPROCLIM , "A limit on the number of tasks supported by the Windows Sockets implementation has been reached." },
{ WSAEFAULT , "The lpWSAData parameter is not a valid pointer." },
}

◆ CONNECTION_ERRORS_2

std::map< int, const std::string > CFEXPNetWinErrors::CONNECTION_ERRORS_2
staticprotected
Initial value:
=
{
{ WSANOTINITIALISED , "A successful WSAStartup call must occur before using this function." },
{ WSAENETDOWN , "The network subsystem or the associated service provider has failed." },
{ WSAEAFNOSUPPORT , "The specified address family is not supported. For example, an application tried to create a socket for the AF_IRDA address family but an infrared adapter and device driver is not installed on the local computer." },
{ WSAEINPROGRESS , "A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function." },
{ WSAEMFILE , "No more socket descriptors are available." },
{ WSAEINVAL , "An invalid argument was supplied. This error is returned if the af parameter is set to AF_UNSPEC and the type and protocol parameter are unspecified." },
{ WSAEINVALIDPROVIDER , "The service provider returned a version other than 2.2." },
{ WSAEINVALIDPROCTABLE , "The service provider returned an invalid or incomplete procedure table to the WSPStartup." },
{ WSAENOBUFS , "No buffer space is available. The socket cannot be created." },
{ WSAEPROTONOSUPPORT , "The specified protocol is not supported." },
{ WSAEPROTOTYPE , "The specified protocol is the wrong type for this socket." },
{ WSAEPROVIDERFAILEDINIT, "The service provider failed to initialize. This error is returned if a layered service provider (LSP) or namespace provider was improperly installed or the provider fails to operate correctly." },
{ WSAESOCKTNOSUPPORT , "The specified socket type is not supported in this address family." }
}

◆ CONNECTION_ERRORS_3

std::map< int, const std::string > CFEXPNetWinErrors::CONNECTION_ERRORS_3
staticprotected
Initial value:
=
{
{ WSANOTINITIALISED, "A successful WSAStartup call must occur before using this function." },
{ WSAENETDOWN , "The network subsystem has failed." },
{ WSAEADDRINUSE , "The socket's local address is already in use and the socket was not marked to allow address reuse with SO_REUSEADDR. This error usually occurs when executing bind, but could be delayed until the connect function if the bind was to a wildcard address (INADDR_ANY or in6addr_any) for the local IP address. A specific address needs to be implicitly bound by the connect function." },
{ WSAEINTR , "The blocking Windows Socket 1.1 call was canceled through WSACancelBlockingCall." },
{ WSAEINPROGRESS , "A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function." },
{ WSAEALREADY , "A nonblocking connect call is in progress on the specified socket." },
{ WSAEADDRNOTAVAIL , "The remote address is not a valid address (such as INADDR_ANY or in6addr_any)." },
{ WSAEAFNOSUPPORT , "Addresses in the specified family cannot be used with this socket." },
{ WSAECONNREFUSED , "The attempt to connect was forcefully rejected." },
{ WSAEFAULT , "The sockaddr structure pointed to by the name contains incorrect address format for the associated address family or the namelen parameter is too small. This error is also returned if the sockaddr structure pointed to by the name parameter with a length specified in the namelen parameter is not in a valid part of the user address space." },
{ WSAEINVAL , "The parameter s is a listening socket." },
{ WSAEISCONN , "The socket is already connected (connection-oriented sockets only)." },
{ WSAENETUNREACH , "The network cannot be reached from this host at this time." },
{ WSAEHOSTUNREACH , "A socket operation was attempted to an unreachable host." },
{ WSAENOBUFS , "No buffer space is available. The socket cannot be connected." },
{ WSAENOTSOCK , "The descriptor specified in the s parameter is not a socket." },
{ WSAETIMEDOUT , "An attempt to connect timed out without establishing a connection." },
{ WSAEWOULDBLOCK , "The socket is marked as nonblocking and the connection cannot be completed immediately." },
{ WSAEACCES , "An attempt to connect a datagram socket to broadcast address failed because setsockopt option SO_BROADCAST is not enabled." }
}

◆ CONNECTION_ERRORS_4

std::map< int, const std::string > CFEXPNetWinErrors::CONNECTION_ERRORS_4
staticprotected
Initial value:
=
{
{ WSANOTINITIALISED, "A successful WSAStartup call must occur before using this function." },
{ WSAENETDOWN , "The network subsystem has failed." },
{ WSAEACCES , "An attempt was made to access a socket in a way forbidden by its access permissions. This error is returned if nn attempt to bind a datagram socket to the broadcast address failed because the setsockopt option SO_BROADCAST is not enabled." },
{ WSAEADDRINUSE , "Only one usage of each socket address (protocol/network address/port) is normally permitted. This error is returned if a process on the computer is already bound to the same fully qualified address and the socket has not been marked to allow address reuse with SO_REUSEADDR.For example, the IP address and port specified in the name parameter are already bound to another socket being used by another application.For more information, see the SO_REUSEADDR socket option in the SOL_SOCKET Socket Options reference, Using SO_REUSEADDR and SO_EXCLUSIVEADDRUSE, and SO_EXCLUSIVEADDRUSE." },
{ WSAEADDRNOTAVAIL , "The requested address is not valid in its context. This error is returned if the specified address pointed to by the name parameter is not a valid local IP address on this computer." },
{ WSAEFAULT , "The system detected an invalid pointer address in attempting to use a pointer argument in a call. This error is returned if the name parameter is NULL, the name or namelen parameter is not a valid part of the user address space, the namelen parameter is too small, the name parameter contains an incorrect address format for the associated address family, or the first two bytes of the memory block specified by name do not match the address family associated with the socket descriptor s." },
{ WSAEINPROGRESS , "A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function." },
{ WSAEINVAL , "An invalid argument was supplied. This error is returned of the socket s is already bound to an address." },
{ WSAENOBUFS , "An operation on a socket could not be performed because the system lacked sufficient buffer space or because a queue was full. This error is returned of not enough buffers are available or there are too many connections." },
{ WSAENOTSOCK , "An operation was attempted on something that is not a socket. This error is returned if the descriptor in the s parameter is not a socket." }
}

◆ CONNECTION_ERRORS_5

std::map< int, const std::string > CFEXPNetWinErrors::CONNECTION_ERRORS_5
staticprotected
Initial value:
=
{
{ WSANOTINITIALISED, "A successful WSAStartup call must occur before using this function." },
{ WSAENETDOWN , "The network subsystem has failed." },
{ WSAEADDRINUSE , "The socket's local address is already in use and the socket was not marked to allow address reuse with SO_REUSEADDR. This error usually occurs during execution of the bind function, but could be delayed until this function if the bind was to a partially wildcard address (involving ADDR_ANY) and if a specific address needs to be committed at the time of this function." },
{ WSAEINPROGRESS , "A blocking Windows Sockets 1.1 call is in progress, or the service provider is still processing a callback function." },
{ WSAEINVAL , "The socket has not been bound with bind." },
{ WSAEISCONN , "The socket is already connected." },
{ WSAEMFILE , "No more socket descriptors are available." },
{ WSAENOBUFS , "No buffer space is available." },
{ WSAENOTSOCK , "The descriptor is not a socket." },
{ WSAEOPNOTSUPP , "The referenced socket is not of a type that supports the listen operation." }
}

The documentation for this class was generated from the following files: